<html xmlns="http://www.w3.org/1999/xhtml" xmlns:lift="http://liftweb.net/">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <title class="lift:Menu.title">App: </title>
    <style class="lift:CSS.blueprint"></style>
    <style class="lift:CSS.fancyType"></style>
    <script id="jquery" src="/classpath/jquery.js" type="text/javascript"></script>
    <script id="json" src="/classpath/json.js" type="text/javascript"></script>

    <style Type="text/css">
    body {
      background-color: white;
      font-family: sans-serif;
    }
    h1, h2, h3 {
      font-weight: normal;
    }
    </style>

    <script src="static/mobwrite/static/compressed_codemirror.js"></script>
    <script src="static/mobwrite/static/codemirror/js/codemirror.js"></script>
    <script>
      mobwrite.syncGateway = 'http://mobwrite3.appspot.com/scripts/q.py';
    </script>

  </head>
  <body onload="mobwrite.share(demo_editor_text);">

    <div id="content">The main content will get bound here</div>

    <script type="text/javascript">
      var w = document.getElementById('usi_editor_text');
      var demo_editor_text = mobwrite.shareCodeMirror.create(w, {
          height: '100%',
          width: '100%',
          parserfile: ['tokenizejavascript.js', 'parsejavascript.js'],
          path: 'static/mobwrite/static/codemirror/js/',
          stylesheet: 'static/mobwrite/static/codemirror/css/jscolors.css',
          tabMode: 'shift',
          autoMatchParens: true
        });
    </script>

  </body>
</html>
